<div class="ui-grid-row ui-widget-content fb-baseinfo-content" style="height:80%;">
    <!--数据源维护表单-->
    <div class="ui-g dataset-form">
        <form [formGroup]="addForm" style="width:100%;margin-top: 1em;">
            <div class="ui-g-12">
                <div class="ui-g-4">表单名称
                    <span style="color:red;">*</span>
                </div>
                <div class="ui-g-8">
                    <input pInputText type="text" formControlName="formName" style="width:100%" />
                </div>
            </div>
            <div class="ui-g-12">
                <div class="ui-g-4">所属业务</div>
                <div class="ui-g-8">
                    <p-dropdown [options]="bizs" formControlName="bizId" [style]="{'width':'100%'}" (onChange)="bizChange($event)"
                        placeholder="业务类型" [filter]="true" [required]="true" [editable]="true"></p-dropdown>
                </div>
            </div>
            <div class="ui-g-12">
                <div class="ui-g-4">所属过程</div>
                <div class="ui-g-8">
                    <p-dropdown [options]="bizProcs" formControlName="procDefId" [style]="{'width':'100%'}" (onChange)="procChange($event)"
                        placeholder="业务流程" [filter]="true" [required]="true" emptyFilterMessage="无数据" [editable]="true"></p-dropdown>
                </div>
            </div>
        </form>
    </div>
</div>
<div class="ui-grid-row">
    <div class="button-item">
        <button pButton type="button" class="ui-button-danger" icon="fa fa-plus" label="取消" (click)="cancel()"></button>
        <button pButton type="button" class="ui-button-info" icon="fa fa-plus" label="保存" (click)="save()"></button>
    </div>
</div>